
capture rm "$path_graphs/fig_CLAN_${g}_treated.tex"
texdoc init "$path_graphs/fig_CLAN_${g}_treated.tex"


if ${n_selected} > 0 {

	local i = 1 

	foreach v of global vs_selected {
		
		if `i' == 4 | `i' == 8 | `i' == 12 | `i' == 16 | `i' == 20 {
	
			tex  ${het_${g}_`t'_`v'} \\
		
		}
		
		else {
		
			tex  ${het_${g}_`t'_`v'}
		
		}
		
		local i = `i' + 1	

	}
	
}
				
else {

	tex \emph{No statistically significant differences detected.}

}		

texdoc close



